const {imgUrl} = getApp().globalData
import { tenderApi } from "@/utils/request/api/tender"
Page({
  data: {
    imgUrl: imgUrl + 'tender/',
    detail: {}
  },
  onLoad(options) {
    this.setData({id: options.id})
    tenderApi.getAnnouncementDetail({id: options.id}).then(res => {
      console.log('res === ', res)
      this.setData({
        detail: res.data
      })
    })
  },
});